/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.utils;

/**
 *
 * @author Ahsan
 */
public class TraderStringUtils
{
	 public static String trimStringToLength (String string, int lengthToTrimTo)
	 {
		  if (string.length() <= lengthToTrimTo)
		  {
			   return string;
		  }
		  
		  return string.substring(0, lengthToTrimTo);
	 }
}
